package interfas;

import model.MailingListDAO;
import model.UserDAO;

import org.mybeans.dao.DAOException;

import databeans.Survey;

public interface SurveyInterface {

	public abstract void create(Survey survey, UserDAO userDAO, MailingListDAO mlDAO) throws DAOException;
	public abstract Survey lookup(int sid) throws DAOException;
	public abstract Survey[] getUserSurveys(String userid) throws DAOException;
	public void updateTitle(Survey survey) throws DAOException;
	public void updateSubmitted(Survey survey) throws DAOException;
	public abstract int size() throws DAOException;
	
}
